package com.example.beidouapplication;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;

import com.example.beidouapplication.databinding.FragmentContentDaohangBeidouBinding;
import com.example.beidouapplication.databinding.FragmentContentDaohangGuandaoBinding;


public class FragmentDaohangGuandao extends Fragment {


    static FragmentDaohangGuandao instance = new FragmentDaohangGuandao();

    FragmentContentDaohangGuandaoBinding binding;

    @Override
    public View onCreateView(
            LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState
    ) {

        int layout = R.layout.fragment_content_daohang_guandao;

        binding = DataBindingUtil.inflate(inflater, layout, container, false);
        binding.setData(MainActivity.daoHangData);
        return binding.getRoot();
    }


    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
    }

}